<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});


Route::get('demo', function () {
    return view('demo.login');
});

Route::get('user', function () {
    return view('demo.user');
});

// Route::get('number', function () {
//     return view('demo.number');
// });

Route::post('login-add','UserController@Login');
Route::post('login-user','UserController@Logins');
Route::get('email','UserController@getEmail');
Route::get('login-show','UserController@getShow');

Route::get('login-number','UserController@getNumber');
Route::post('login-num','UserController@getNum');

